<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.org/ui" xmlns:a4j="http://richfaces.org/a4j"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<h:panelGrid id="display" columns="2" cellpadding="4"
		style="width:400px;" styleClass="ui-widget-content"
		columnClasses="label, value">

		<f:facet name="header">
			<center>
				<h:outputText value="Özellikler" />
			</center>
			<br></br>
		</f:facet>

		<h:outputText value="Firma:" />
		<h:outputText id="urunFirmaIsim"
			value="#{TelefonBean.selectedTelefon.sirketprofil.firmaAd}" />

		<h:outputText value="Marka:" />
		<p:inputText id="urunMarka"
			value="#{TelefonBean.selectedTelefon.aygit.marka}" />

		<h:outputText value="Model:" />
		<p:inputText id="firmaModel"
			value="#{TelefonBean.selectedTelefon.aygit.model}" />

		<h:outputText value="Boyutları:" />
		<p:inputText id="urunBoyutlari"
			value="#{TelefonBean.selectedTelefon.boyutlari}" />

		<h:outputText value="Agirlik:" />
		<p:inputText id="urunAgirlik"
			value="#{TelefonBean.selectedTelefon.agirlik}" />

		<h:outputText value="GSM Band Desteği:" />
		<p:inputText id="urunGsmBandDestek"
			value="#{TelefonBean.selectedTelefon.gsmBandDestek}" />

		<h:outputText value="Bekleme Suresi:" />
		<p:inputText id="urunBeklemeSuresi"
			value="#{TelefonBean.selectedTelefon.beklemeSuresi}" />

		<h:outputText value="Konusma Suresi:" />
		<p:inputText id="urunKonusmaSuresi"
			value="#{TelefonBean.selectedTelefon.konusmaSuresi}" />

		<h:outputText value="Kamera Özellik:" />
		<p:inputText id="urunKameraOzellik"
			value="#{TelefonBean.selectedTelefon.kameraOzellik}" />

		<h:outputText value="Kızıl Ötesi:" />
		<p:inputText id="urunKizilotesi"
			value="#{TelefonBean.selectedTelefon.kizilotesi}" />

		<h:outputText value="Bluetooth:" />
		<p:inputText id="urunBluetooth"
			value="#{TelefonBean.selectedTelefon.bluetooth}" />

		<h:outputText value="Çift Sim:" />
		<p:inputText id="urunCiftSim"
			value="#{TelefonBean.selectedTelefon.ciftSim}" />

		<h:outputText value="Ekran Boyutları:" />
		<p:inputText id="urunEkranBoyutlari"
			value="#{TelefonBean.selectedTelefon.ekranBoyutlari}" />

		<h:outputText value="İsletim Sistemi:" />
		<p:inputText id="urunisletimSis"
			value="#{TelefonBean.selectedTelefon.isletimSis}" />

		<h:outputText value="Tarayıcı Desteği:" />
		<p:inputText id="urunTarayiciDestek"
			value="#{TelefonBean.selectedTelefon.tarayiciDestek}" />

		<h:outputText value="Java Desteği:" />
		<p:inputText id="urunJavaDestek"
			value="#{TelefonBean.selectedTelefon.javaDestek}" />

		<h:outputText value="GPRS:" />
		<p:inputText id="urunGprs"
			value="#{TelefonBean.selectedTelefon.gprs}" />

		<h:outputText value="WIFI:" />
		<p:inputText id="urunWifi"
			value="#{TelefonBean.selectedTelefon.wifi}" />

		<h:outputText value="Video Kaydetme:" />
		<p:inputText id="urunVideoKaydetme"
			value="#{TelefonBean.selectedTelefon.videoKaydetme}" />

		<h:outputText value="Video Formatı:" />
		<p:inputText id="urunVideoFormat"
			value="#{TelefonBean.selectedTelefon.videoFormat}" />

		<h:outputText value="Muzik Formatı:" />
		<p:inputText id="urunMuzikFormat"
			value="#{TelefonBean.selectedTelefon.muzikFormat}" />

		<h:outputText value="Müzik Oynatıcı:" />
		<p:inputText id="urunMuzikOynatici"
			value="#{TelefonBean.selectedTelefon.muzikOynatici}" />

		<h:outputText value="Mobil Tv:" />
		<p:inputText id="urunMobilTv"
			value="#{TelefonBean.selectedTelefon.mobilTv}" />

		<h:outputText value="FM Radio Destek:" />
		<p:inputText id="urunFmRadioDestek"
			value="#{TelefonBean.selectedTelefon.fmRadioDestek}" />

		<h:outputText value="FM Radio Kayıt:" />
		<p:inputText id="urunFmRadioKayit"
			value="#{TelefonBean.selectedTelefon.fmRadioKayit}" />

		<h:outputText value="Çevrimdışı Modu:" />
		<p:inputText id="urunCevrimdisiModu"
			value="#{TelefonBean.selectedTelefon.cevrimdisiModu}" />

		<h:outputText value="Uçuş Modu:" />
		<p:inputText id="urunUcusModu"
			value="#{TelefonBean.selectedTelefon.ucusModu}" />

		<h:outputText value="Mesajlaşma Türleri:" />
		<p:inputText id="urunMesajlasmaTurleri"
			value="#{TelefonBean.selectedTelefon.mesajlasmaTurleri}" />

		<h:outputText value="Dahili Hafıza:" />
		<p:inputText id="urunDahiliHafiza"
			value="#{TelefonBean.selectedTelefon.dahiliHafiza}" />

		<h:outputText value="Harici Hafiza Desteği:" />
		<p:inputText id="urunHariciHafizaDestek"
			value="#{TelefonBean.selectedTelefon.hariciHafizaDestek}" />

		<h:outputText value="Rehber Hafıza:" />
		<p:inputText id="urunRehberHafiza"
			value="#{TelefonBean.selectedTelefon.rehberHafiza}" />

		<h:outputText value="Takvim:" />
		<p:inputText id="uruntakvim"
			value="#{TelefonBean.selectedTelefon.takvim}" />

		<h:outputText value="Alarm:" />
		<p:inputText id="urunAlarm"
			value="#{TelefonBean.selectedTelefon.alarm}" />

		<h:outputText value="Kronometre:" />
		<p:inputText id="urunKronometre"
			value="#{TelefonBean.selectedTelefon.kronometre}" />

		<h:outputText value="Hesap Makinesi:" />
		<p:inputText id="urunHesapMakinesi"
			value="#{TelefonBean.selectedTelefon.hesapMakinesi}" />

		<h:outputText value="Hoparlör Özellik:" />
		<p:inputText id="urunHoparlorOzellik"
			value="#{TelefonBean.selectedTelefon.hoparlorOzellik}" />

		<h:outputText value="Mobil İzleyici:" />
		<p:inputText id="urunMobilizleyici"
			value="#{TelefonBean.selectedTelefon.mobilizleyici}" />

		<h:outputText value="GPS:" />
		<p:inputText id="urunGps"
			value="#{TelefonBean.selectedTelefon.gps}" />

		<h:outputText value="Garanti Suresi:" />
		<p:inputText id="urunGarantiSuresi"
			value="#{TelefonBean.selectedTelefon.garantiSuresi}" />
	</h:panelGrid>
	<c:if test="#{AygitBean.yeniUrun==false}">

		<p:dataGrid var="resim" value="#{ResimlerBean.selectedAygitResimList}"
			columns="3" rows="6" paginator="true" id="resimListesi"
			paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} 
					{PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
			rowsPerPageTemplate="3,6,9">

			<p:column>
				<p:panel>
					<h:panelGrid columns="1" style="width:100%">
						<p:graphicImage value="#{resim.resimKonum}"
							style="height:100px; width:90px;" />

						<p:commandButton value="Delete" update=":urunislemForm"
							id="DeletePictures"
							action="#{ResimlerBean.deleteAygitFile(resim)}" />

					</h:panelGrid>
				</p:panel>
			</p:column>

		</p:dataGrid>

	</c:if>
	<ui:include src="uploadPictures.xhtml" />
</ui:composition>